#!/bin/bash
function log_java() {
	args=$@
	echo "java -classpath ./repository.jar:lib/log4j-1.2.15.jar $args &"
	java -classpath ./repository.jar:lib/log4j-1.2.15.jar $args &
}
function log_ssh() {
	args=$@
	echo "ssh $args"
	ssh $args
}
function log_rsync() {
	args=$@
	echo "rsync -av --exclude '.svn' $args"
	rsync -av --exclude ".svn" $args
}

if [ $# -eq 1 ]; then
    log_java com.oromwin.repos.thread.ProcessManager $1
else
    echo "./thread.sh [ A, B, C, D, E ]"
    exit
fi

